package com.stylefeng.guns.modular.verbal.warpper;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import com.stylefeng.guns.core.common.constant.factory.ConstantFactory;

import java.util.Map;

public class PicWarpper extends BaseControllerWarpper {

    public PicWarpper(Object obj) {
        super(obj);
    }

    @Override
    protected void warpTheMap(Map<String, Object> map) {
        String typeName = ConstantFactory.me().getDictNameByNum("verbalType", map.get("typeCode").toString());
        map.put("typeName",typeName);
    }
}
